/*
 * @Author: @miao-xiongmei 2575733397@qq.com
 * @Date: 2022-07-14 17:05:24
 * @LastEditors: @miao-xiongmei 2575733397@qq.com
 * @LastEditTime: 2022-07-18 10:07:21
 * @FilePath: \tainfuhealh\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: process.env.NODE_ENV !== 'production' ? "./":"/",
  devServer:{
    proxy:{
      '/tianfuHealth':{
        target:"http://1.15.228.131:8080",
        ws:true,
        changeOrigin:true,
        pathRewrite:{
          '^/tianfuHealth':'/tianfuHealth'//正则匹配

        }
      }
    }
  }
})
